env = Environment()
env.ParseConfig('sdl-config --cflags --libs')
libs = [ 'OpenCOLLADASaxFrameworkLoader',
         'MathMLSolver',
         'OpenCOLLADAFramework',
         'OpenCOLLADABaseUtils',
         'GeneratedSaxParser',
         'pcre',
         #'ftoa',
         #'Buffer',
         'UTF',
         'xml2',
         'z',
         'GL',
         'GLU' ]

sources = [ 'GLee.c',
            'ColladaWriter.cpp',
            'ColladaGLScene.cpp',
            'ColladaGLNode.cpp',
            'ColladaGLMesh.cpp',
            'main.cpp' ]

libPath = [ 'COLLADA/lib' ]
incDirs = [ 'COLLADA/include' ]
env.Append(LIBS=libs)
env.Append(LIBPATH=libPath)
env.Append(CPPPATH=incDirs)

env.Program('collada-test', sources)

